from django.urls import path

from . import views


app_name = 'images'

urlpatterns = [
    path('', views.ShowingImages.as_view(), name='show'),
    path('create/<path:slug>/', views.CreatingImage.as_view(), name='create'),
    path('view/<str:slug>/', views.ShowImage.as_view(), name='show_image'),
    path('update/<str:slug>/', views.UpdateImage.as_view(), name='update_image'),
    path('delete/<str:slug>/', views.DeleteImage.as_view(), name='delete_image'),
]
